<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <IsPackable>true</IsPackable>
    </PropertyGroup>

    <PropertyGroup>
        <TargetFramework>net8.0-windows</TargetFramework>
        <RootNamespace>AM.Drawing</RootNamespace>
        <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    </PropertyGroup>

    <PropertyGroup>
        <Title>Ars Magna GDI+ drawing services</Title>
        <Description>Ars Magna GDI+ drawing services</Description>
    </PropertyGroup>

    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
        <DocumentationFile>bin\Debug\AM.Drawing5.xml</DocumentationFile>
        <DefineConstants>CONTRACTS_FULL;COREAPP;TRACE;TRACE;CORE;NETFX_CORE</DefineConstants>
    </PropertyGroup>

    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
        <DocumentationFile>bin\Release\AM.Drawing5.xml</DocumentationFile>
        <DefineConstants>COREAPP;CONTRACTS_FULL;TRACE;CORE;NETFX_CORE</DefineConstants>
    </PropertyGroup>

    <ItemGroup>
        <ProjectReference Include="..\AM.Core5\AM.Core5.csproj" />
    </ItemGroup>

    <!-- Централизованное управление пакетами -->
    <ItemGroup>
        <PackageReference Include="Microsoft.Windows.Compatibility" />
        <PackageReference Include="System.Drawing.Common" />
        <PackageReference Include="System.Resources.Extensions" />
        <PackageReference Include="SharpZipLib" />
        <PackageReference Include="SixLabors.ImageSharp" />
        <PackageReference Include="SixLabors.Fonts" />
    </ItemGroup>

    <ItemGroup>
        <Folder Include="Source\Pdfing\Pdf\AcroForms\enums" />
    </ItemGroup>

</Project>
